<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="my" uri="/mytags" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>通知公告列表</title>
<link href="${pageContext.request.contextPath}/asserts/bootstrap-3.3.7-dist/css/bootstrap.css" title=""
	rel="stylesheet" />
<link title="" href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link title="blue" href="${pageContext.request.contextPath}/css/dermadefault.css" rel="stylesheet"
	type="text/css" />
<link title="green" href="${pageContext.request.contextPath}/css/dermagreen.css" rel="stylesheet"
	type="text/css" disabled="disabled" />
<link title="orange" href="${pageContext.request.contextPath}/css/dermaorange.css" rel="stylesheet"
	type="text/css" disabled="disabled" />
<!--<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
-->
<script src="${pageContext.request.contextPath}/js/jquery-3.2.1.min.js"></script>

<script src="${pageContext.request.contextPath}/js/jquery.cookie.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/asserts/bootstrap-3.3.7-dist/js/bootstrap.min.js"
	type="text/javascript"></script>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css">
</head>
<body style="background: #F5F5F5">
<nav class="nav navbar-default navbar-mystyle">
		<div class="navbar-header">
			<button class="navbar-toggle" data-toggle="collapse"
				data-target=".navbar-collapse">
				<span class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand mystyle-brand"><span
				class="glyphicon glyphicon-home"></span></a>
		</div>
		<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
				<li class="li-border"><a class="mystyle-color navbar-brand" href="#">学生档案与资助平台</a>
				</li>
			 </ul>

			<ul class="nav navbar-nav pull-right">
				<li class="li-border"><a href="#" class="mystyle-color"> <span
						class="glyphicon glyphicon-bell"></span> <span class="topbar-num">0</span>
				</a></li>
				<li class="li-border dropdown"><a href="#"
					class="mystyle-color" data-toggle="dropdown"> <span
						class="glyphicon glyphicon-search"></span> 搜索
				</a>
					<div class="dropdown-menu search-dropdown">
						<div class="input-group">
							<input type="text" class="form-control"> <span
								class="input-group-btn">
								<button type="button" class="btn btn-default">搜索</button>
							</span> 
						</div>
					</div></li>   
				 
				<li class="dropdown li-border"><a href="#"
					class="dropdown-toggle mystyle-color" data-toggle="dropdown">
					      <span id="userInfo">${user.userlevel},${user.usercode}</span> 
						<span class="caret"></span>
				</a>
					<ul class="dropdown-menu">
						<li><a href="user/logout">退出</a></li>
					</ul></li>
				<li class="dropdown"><a href="#"
					class="dropdown-toggle mystyle-color" data-toggle="dropdown">换肤<span
						class="caret"></span></a>
					<ul class="dropdown-menu changecolor">
						<li id="blue"><a href="#">蓝色</a></li>
						<li class="divider"></li>
						<li id="green"><a href="#">绿色</a></li>
						<li class="divider"></li>
						<li id="orange"><a href="#">橙色</a></li>
					</ul></li>
			</ul>
		</div>
	</nav>
	<div class="container">
			<ol class="breadcrumb">
						<li><i class="fa fa-comment"></i><h3>通知公告</h3> </li>
					</ol>
			 <div class="count">
						<div class="list-item">
						<div id="noticeInfo">
					 		    
							    <c:forEach items="${pageInfo.list }" var="notice">
								    <div class="li-item">
								  		<a href="detailnotice?type=1&id=${notice.id}" target="_blank" title="${notice.name}"><p style="float:left">${notice.name} </p></a>
								        <p style="float:right;text-align: right"><fmt:formatDate value="${notice.createdate}" pattern="yyyy-MM-dd hh:mm:ss"/></p> 
								    </div>
							    </c:forEach>
							    
							    
							    
						</div>
							    <div style="clear:both">
							 	 
							 	 </div>
							 	 
							 
						</div>
			 		  <my:page prePage="${pageInfo.prePage}" nextPage="${pageInfo.nextPage}"  
								  url="${pageContext.request.contextPath}/notice/listFront?n=1" totalPage="${pageInfo.pages}"
								  currentPage="${pageInfo.pageNum}"/>
			 
	</div>
</body>
 

</html>